package com.spsoft.vatoutinv.service.vmsissuenegativeinvoices;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.spsoft.core.model.Result;
import com.spsoft.vatoutinv.model.dto.vmsissuenegativeinvoices.RedConfirmationFormDto;
import com.spsoft.vatoutinv.model.vo.vmsissuenegativeincoices.RedConfirmationFormVo;
import com.spsoft.vatoutinv.model.vo.vmsissuenegativeincoices.manual.VmsApprovalHzqrdManualVo;

/**
 * @author wangy
 * @date 2024/1/22 9:37
 */
public interface VmsIssueNegativeInvoicesService {

    /**
     * 查询已开发票中负数发票
     * @param dto
     * @return
     */
    Result<IPage<RedConfirmationFormVo>> redConfirmationForm(RedConfirmationFormDto dto);

    /**
     * 根据红字确认单查询 发票信息
     * @param hzfpxxqrdbh
     * @return
     */
    Result<VmsApprovalHzqrdManualVo> getInfoByRedNo(String hzfpxxqrdbh);

    /**
     * 开具发票
     *
     * @param hzfpxxqrdbh
     * @param bz
     * @return
     */
    Result<Object> invoice(String hzfpxxqrdbh, String bz);

    Result<Object> checkStatus();
}
